import { get } from '@/http';
import { IRole, IRoleWithAuth } from './types';
export const roleList = () => {
    return get<IRoleWithAuth[]>({}, '/getRoleList', null);
};

export const getRoleList = () => {
    return get<IRole[]>({}, '/getRoleList', null);
};
